Skip to content

Text

DrawText1D

lua
DrawText1D(im, color, x, z, size, text)

Draws a 1D text onto the specified IM display.

Parameters:

ParameterTypeDescription
imIntegerImage register index
colorStringSpecified text color
xNumber (Double-precision Float)X-axis coordinate of the 1D text
zNumber (Double-precision Float)Z-axis coordinate of the 1D text
sizeNumber (Double-precision Float)Size of the 1D text
textStringContent of the 1D text

DrawText2D

lua
DrawText2D(im, color, x, y, size, text)

Draws a 2D text onto the specified IM display.

Parameters:

ParameterTypeDescription
imIntegerImage register index
colorStringSpecified text color
xNumber (Double-precision Float)X-axis coordinate of the 2D text
yNumber (Double-precision Float)Y-axis coordinate of the 2D text
sizeNumber (Double-precision Float)Size of the 2D text
textStringContent of the 2D text

DrawText3D

lua
DrawText3D(im, color, x, y, z, size, text)

Draws a 3D text onto the specified IM display.

Parameters:

ParameterTypeDescription
imIntegerImage register index
colorStringSpecified text color
xNumber (Double-precision Float)X-axis coordinate of the 3D text
yNumber (Double-precision Float)Y-axis coordinate of the 3D text
zNumber (Double-precision Float)Z-axis coordinate of the 3D text
sizeNumber (Double-precision Float)Size of the 3D text
textStringContent of the 3D text

AI-Vision, Making 3D Measurement Easier